package com.yunchao.bank.main.data

import com.yunchao.bank.main.data.repository.DispatchTaskDatasource
import com.yunchao.bank.main.data.repository.NavHostRepositoryImpl
import com.yunchao.bank.main.domain.repository.NavHostRepository
import org.koin.android.ext.koin.androidApplication
import org.koin.android.ext.koin.androidContext
import org.koin.dsl.module

internal val mainDataModule = module {
    single { DispatchTaskDatasource(androidContext(), get()) }

    single<NavHostRepository> { NavHostRepositoryImpl(get(), androidApplication(), get(), get(), get()) }
}